package com.lecture.javamode.proxy.staticproxy;

public class UserController implements IUserController {

   // private MetricsCollector metricsCollector;

    @Override
    public void login(String userName,String pwd) {
        /*long startTimestamp = System.currentTimeMillis();
        //省略登录逻辑
        long endTimestamp = System.currentTimeMillis();
        long responseTime = endTimestamp - startTimestamp;
        RequestInfo requestInfo = new RequestInfo("login",responseTime,startTimestamp);
        metricsCollector.recordRequest(requestInfo);*/
        //省略登录逻辑
    }
}
